<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        body {
            font: 14px/1.5 "宋体"
        }
        p {
            font: 10px "宋体"
        }
        .nav li {
            color: red;
        }
        /*  */
        ul,.nav li {
            color: pink;
            font-weight: 700;
        }
        .example1 {
            width: 200px;
            height: 200px;
            border: blue 1px solid;
            border-top: red 1px solid;
        }
        table {
            width: 200px;
            height: 200px;
        }
        table,
        td {
            border: 1px solid red;
            border-collapse: collapse;
            /* padding-left: 5px; */
            padding: 5px;
        }
        .nav {
            height: 41px;
            
            border-top: 3px solid #ff8500;
            border-bottom: 1px solid #edeef0;
            line-height: 41px;
            background-color: #fcfcfc;
        }
        a {
         
            display: inline-block;
            
            height: 41px;
            color: #4c4c4c;
            padding: 0px 20px;
            border-collapse: collapse;
            text-decoration: none;
        }
        a:hover {
            background-color: grey;
            background: rgba(0,0,0,0.2);
        }
        .example2{
            
        }
    </style>
</head>
<body>
    <div>这是一个div</div>
    <p>这是一个p</p>
    <ul class="nav">
        <li class="somepink">人生四大悲</li>
        <li>家里没宽带</li>
        <li>网速不够快</li>
        <li>手机没流量</li>
        <li>学习没wifi</li>
    </ul>

    <div class="example1"></div><br>

    <table>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
        <tr>
            <td>4</td>
            <td>3</td>
        </tr>        
    </table>
    <br>
    
    <div class="nav">
        <a href="#">设为首页</a>
        <a href="#">新烺客户端</a>
        <a href="#">微博</a>
        <a href="#">关注我</a>
    </div>
    <div class="example2">
        

    </div>
</body>
</html>